class QiTaFYBXDElement:

    ele_frame_url = '/modules/expm/public/exp_report_type_choice.screen'
    ele_frame_id = '#tabFrame2'
    ele_其它费用报销单icon = 'text=其它费用报销单'
    '''头信息'''
    ele_描述 = '#exp_rep_mt_standard_desc_ta'
    ele_含专票 = 'text=含专票'
    ele_是否分摊 = 'text=是否分摊'
    ele_付款主体 = "//table[@id='exp_rep_mt_standard_normal_box']//tr[3]//td[2]//input"
    ele_接收币种 = "//table[@id='exp_rep_mt_standard_normal_box']//tr[2]//td[3]//input"
    ele_申请人 = "//table[@id='exp_rep_mt_standard_normal_box']//tr[2]//td[2]//input"
    ele_项目 = "//table[@id='exp_rep_mt_standard_normal_box']//tr[4]//td[1]//input"
    ele_部门名称 = "//table[@id='exp_rep_mt_standard_normal_box']//tr[3]//td[1]//input"
    '''行信息'''
    ele_行_全选 = '#grid_wrap [atype="grid.headcheck"]'
    ele_新增 = 'text=新增'
    ele_日期从 = '[id*="grid_date_from_"]'
    ele_日期从_输入 = '#datapicker_grid_dp input'
    ele_日期到 ='[id* = "grid_date_to_"]'
    ele_日期到_输入 = '#datapicker_grid_dp input'
    ele_报销类型 = '[id*="grid_expense_type_name_"]'
    ele_报销类型_输入 = '#type_combox input'
    ele_费用项目 = '[id*="grid_exp_req_item_name_"]'
    ele_费用项目_输入 = '#type_combox input'
    ele_部门 = '[id*="grid_unit_name_"]'
    ele_部门_输入 = '#company_combox input'
    ele_发票币种 = '[id*="grid_foreign_currency_name_"]'
    ele_发票币种_输入 = '#other_cb input'
    ele_金额 = '[id*="grid_unit_price_"]'
    ele_金额_输入 = '#numberfield input'
    ele_数量 = '[id*="grid_primary_quantity_"]'
    ele_数量_输入 = '#quantitynumberfield input'
    ele_税额 = '[id*="grid_foreign_tax_amount_"]'
    ele_税额_输入 = '#tax_amount_nf input'
    ele_说明 = '[id*="grid_description_"]'
    ele_说明_输入 = '#description_grid_tf input'
    ele_不含税额 = '[id*="grid_not_foreign_tax_amount_"]'
    ele_导入数据 = 'text=导入数据'
    '''按钮'''
    ele_提交申请 = 'text=提交申请'
    ele_提交申请_确定 = '[auskin="newbtnblue"][id*="ext-gen"]'
    ele_提交申请_提交成功 = 'text=提交成功'
    '''报销总额'''
    ele_报销总额 = '#total_amount_div_id div:nth-child(2) span'
    '''结算信息'''
    ele_实际支付金额 = '[id*="pmt_grid_due_amount_"]'
    ele_核销区_全选 = '#pmt_grid div[atype="grid.headcheck"]'
    ele_核销区_删除 = '#pmt_grid_tb [text="删除"]'
    ele_付款明细 = 'text=付款明细'
    ele_实付总额 = '//*[@id="total_amount_div_id"]//div[6]/span'
    '''添加审批人'''
    ele_添加审批人 = 'text=添加审批人'
    ele_添加审批人_新增 = 'text=新增'
    ele_添加审批人_新增_员工姓名 = '[id*="wfl_add_approver_grid_employee_name_"]'
    ele_添加审批人_新增_员工姓名_输入 = '#wfl_add_app_lov input'
    ele_添加审批人_新增_确定 = 'text=确定'
    '''整单删除'''
    ele_整单删除 = 'text=整单删除'
    ele_整单删除_确定 = '[id*="aurora-msg-okext-gen"] button'

    '''付款明细'''
    ele_收款明细_新增 = 'text=新增'
    ele_收款明细_付款金额 = '[id*="more_payment_grid_payment_amount_"] span'
    ele_收款明细_付款金额_输入 = '#more_nf input'
    ele_收款明细_收款方 = '#more_lov input'
    ele_收款明细_保存 = 'text=保存'
    ele_收款明细_返回 = 'text=返回'
    '''核销借款/预付款'''
    ele_核销借款 = '[id*="pmt_grid_verification_loan_"] a'
    ele_本次核销金额 = '[id*="writeOffDetail_grid_now_write_off_amount_"]:nth-child(1)'
    ele_本次核销金额_输入 = '#now_write_off_amount_tf input'
    ele_核销借款_确认 = 'text=确认'
    ele_核销借款提示 = 'text=请先在结算信息中核销借款'
    '''导入数据'''
    ele_导入数据_选择文件 = 'button[text="选择文件"]'
    ele_导入数据_选择文件_选择文件 = '#fileField'
    ele_导入数据_共n条 = 'text=共3条'
    ele_导入数据_数据导入成功 = 'text=数据导入成功'
    ele_导入数据_数据导入成功_确定 = 'text=确定'
    ele_提交数据 = 'button[text="提交数据"]'
    '''如有对填单有疑问可咨询TME8000'''
    ele_操作指南 = 'text=操作指南'
    ele_填单示例 = 'text=填单示例'

    ele_保存草稿 = 'text=保存草稿'